<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class Cases extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $data = array(
            array('name'=>'Flutter入门文档','weight'=>'1'),
            array('name'=>'Vue入门文档','weight'=>'1'),
            array('name'=>'Docker入门文档','weight'=>'1'),
            array('name'=>'Git入门文档','weight'=>'1'),
        );
        DB::table('Cases')->insert($data);
    }
}
